import { NoticeHttp } from "../../../http/notice"
const getNoticeTable = async (tableData, page, total) => {
  let size = 9
  let res = await NoticeHttp.getPageNotice(page, size)
  if (res.code == 200) {
    tableData.value = res.result.data
    total.value = res.result.total
  } else {
    console.log("请求公告列表失败")
  }
}
export { getNoticeTable }
